package com.xydtech.ecard.config.domain;

import com.xydtech.common.annotation.Excel;
import com.xydtech.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 海报分享配置记录对象 ecard_poster_share_list
 * 
 * @author xydtech
 * @date 2022-12-05
 */
public class EcardPosterShareList extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 海报ID */
    @Excel(name = "海报ID")
    private Long posterId;

    /** 是否自制(1,是，2否) */
    @Excel(name = "是否自制(1,是，2否)")
    private String isMake;

    /** 海报图片 */
    @Excel(name = "海报图片")
    private String imgFile;

    /** 法人机构id */
    @Excel(name = "法人机构id")
    private Long deptId;

    /** 创建人id */
    @Excel(name = "创建人id")
    private Long userId;

    /** 系统海报文案 */
    private String details;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPosterId(Long posterId) 
    {
        this.posterId = posterId;
    }

    public Long getPosterId() 
    {
        return posterId;
    }
    public void setIsMake(String isMake) 
    {
        this.isMake = isMake;
    }

    public String getIsMake() 
    {
        return isMake;
    }
    public void setImgFile(String imgFile) 
    {
        this.imgFile = imgFile;
    }

    public String getImgFile() 
    {
        return imgFile;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public String getDetails() {
        return details;
    }

    public void setDetails(String details) {
        this.details = details;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("posterId", getPosterId())
            .append("isMake", getIsMake())
            .append("imgFile", getImgFile())
            .append("deptId", getDeptId())
            .append("createTime", getCreateTime())
            .append("userId", getUserId())
            .append("details", getDetails())
            .toString();
    }
}
